package com.example.hospital.api.db.dao;

import com.example.hospital.api.db.pojo.DrugOperateEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DrugOperateDao {
    public ArrayList<HashMap> searchOperateByPage(Map param);

    public long searchOperateCount(Map param);

    @Transactional
    public void addinsert(DrugOperateEntity entity);

    @Transactional
    public void reduceinsert(DrugOperateEntity entity);
}
